package cn.edu.scau.cmi.dengzejun.chapter09;

public class Example9_7 {
	public static void main(String args[]) {
		byte[] d= "Hello ,Java!".getBytes();
		System.out.println("the array's length is "+ d.length);
		String s = new String(d,6,2);
		System.out.println(s);
		s = new String(d,0,6);
		System.out.println(s);
		return;
	}
}
